package com.ctrip.ec.biz.entity.agent;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_agent")
public class AgentEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("user_id")
    private Long userId;
    @DbColumn("name")
    private String name;
    @DbColumn("balance")
    private BigDecimal balance;
    @DbColumn("app_id")
    private String appId;
    @DbColumn("app_secret")
    private String appSecret;
    @DbColumn("mch_id")
    private String mchId;
    @DbColumn("mch_key")
    private String mchKey;
    @DbColumn("status")
    private Integer status;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @DbColumn("addr")
    private String addr;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Long getUserId(){
        return this.userId;
    }
    public void setUserId(Long userId){
        this.userId = userId;
    }
    public  String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public  BigDecimal getBalance(){
        return this.balance;
    }
    public void setBalance(BigDecimal balance){
        this.balance = balance;
    }
    public  String getAppId(){
        return this.appId;
    }
    public void setAppId(String appId){
        this.appId = appId;
    }
    public  String getAppSecret(){
        return this.appSecret;
    }
    public void setAppSecret(String appSecret){
        this.appSecret = appSecret;
    }
    public  String getMchId(){
        return this.mchId;
    }
    public void setMchId(String mchId){
        this.mchId = mchId;
    }
    public  String getMchKey(){
        return this.mchKey;
    }
    public void setMchKey(String mchKey){
        this.mchKey = mchKey;
    }
    public  Integer getStatus(){
        return this.status;
    }
    public void setStatus(Integer status){
        this.status = status;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  String getAddr(){
        return this.addr;
    }
    public void setAddr(String addr){
        this.addr = addr;
    }
}